from django.conf.urls.defaults import *
from django.conf import settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^pure_admin/', include('pure_admin.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    (r'^ftp/admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^ftp/admin/(.*)', admin.site.root),
    
    url(r'^ftp/$', 
        'core_app.views.pure_index_view', 
        name='pure_index_view'),
    
    url(r'ftp/id/(?P<id>\d*)/$', 
        'core_app.views.ftp_user_info_view', 
        name='ftp_user_info_view'),

    url(r'ftp/status/$', 
        'core_app.views.ftp_user_status_view', 
        name='ftp_user_status_view'),      
    
    ( r"^static-medias/(?P<path>.*)$", "django.views.static.serve", {"document_root": settings.MEDIA_ROOT} ),
)
